/*
 * uithread.h
 *
 *  Created on: 2011-4-30
 *      Author: chenl
 */

#ifndef UITHREAD_H_
#define UITHREAD_H_

#include "common/common_thread.h"
#include "logengine/buffedlog.h"
#include "global.h"

class CUIThread : public CThread
{
public:
	CUIThread();
	virtual ~CUIThread();

	int32_t Initialize();
	int32_t Uninitialize();
	virtual void Execute();

protected:
	bool ProcessCommand();
	bool ProcessTimer();
public:
	CUIThreadLog&	logEngine;
};

#endif /* UITHREAD_H_ */
